<script setup>
</script>

<template>
	<div>
		<RouterView />
	</div>
</template>

<style lang="scss">
html {
	color: var(--theme-ui-colors-text);
	background-color: var(--theme-ui-colors-background);
}

.works-list {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(1, 1fr);

	.work-item {
		display: grid;

		.top {
			display: flex;
			gap: 1rem;
			margin-bottom: 0.5rem;

			.image {
				display: block;
				flex: 0 0 auto;
				position: relative;
				box-shadow: rgba(203, 213, 224, 0.3) 0px 0px 2rem 0px;
				aspect-ratio: 7 / 10;
				width: 7rem;
				clip-path: inset(0px round 0.25rem);

				img {
					display: block;
					width: 100%;
					height: 100%;
				}

				.tag {
					font-size: 0.625rem;
					font-weight: 600;
					line-height: 1.625;
					letter-spacing: 0.05em;
					padding-left: 0.5rem;
					padding-right: 0.5rem;
					color: #ffffff;
					display: flex;
					position: absolute;
					top: 0.375rem;
					right: 0.375rem;
					background-color: rgba(113, 128, 150, 0.5);
					border-radius: 50rem;
				}
			}

			.text {
				display: flex;
				flex: 1 1 0%;
				flex-direction: column;
				min-height: 10.125rem;
				gap: 0.5rem;

				.work-tit {
					font-size: 0.875rem;
					font-weight: 500;
					line-height: 1.5;
					letter-spacing: 0.05em;
					color: #2d3748;
					display: -webkit-box;
					-webkit-line-clamp: 2;
					-webkit-box-orient: vertical;
					word-break: break-all;
					overflow: hidden;
				}

				.work-author {
					font-size: 0.75rem;
					font-weight: 400;
					line-height: 1.625;
					letter-spacing: 0.05em;
					color: #2d3748;
					display: -webkit-box;
					-webkit-line-clamp: 2;
					-webkit-box-orient: vertical;
					word-break: break-all;
					overflow: hidden;
				}

				.work-info {
					margin: 0.3rem 0px 0px;
					min-width: 0px;
					font-size: 0.75rem;
					font-weight: 400;
					letter-spacing: 0.05em;
					color: #92aaca;
					display: -webkit-box;
					-webkit-line-clamp: 4;
					-webkit-box-orient: vertical;
					word-break: break-all;
					overflow: hidden;
					margin-top: -0.1rem;
				}
			}
		}

		.bottom {
			display: flex;
			justify-content: space-between;
			align-items: center;

			.count {
				display: flex;
				align-items: center;
				gap: 0.5rem;

				div {
					font-size: 0.75rem;
					font-weight: 400;
					line-height: 1.625;
					letter-spacing: 0.05em;
					color: #718096;
					display: flex;
					align-items: center;
					gap: 0.5rem;
				}
			}

			.zan {
				:deep(.el-button) {
					height: 3rem;
					width: 3rem;
					font-size: 1.5rem;
					border: none;
					color: #fa715d;
					background-color: #f7fafc;
				}
			}
		}
	}
}

@media screen and (min-width: 640px) {
	.works-list {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media screen and (min-width: 768px) {
	.works-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.works-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.icon-image {
	width: 15px;
}

.space-between {
	display: inline-flex;
	width: 100%;
	justify-content: space-between;
}

.top20 {
	margin-top: 2rem;
}

.dis-row {
	display: inline-flex;
	align-items: center;
}

.top10 {
	margin-top: 1rem;
}

.count-img {
	width: 15px;
}

.fengmian-box,
.fengmian-boss {
	min-width: 127px !important;
	min-height: 182px !important;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.el-tabs__item.is-active, .el-tabs__item:hover{
	color: #fa715d;
}

.el-tabs__active-bar{
	background-color: #fa715d;
}

.el-checkbox__input.is-checked+.el-checkbox__label{
	color: #fa715d;
}

.el-checkbox__input.is-checked .el-checkbox__inner{
	background-color: #fa715d;
	border: 1px #fa715d solid;
}

.el-radio__input.is-checked .el-radio__inner{
	background-color: #fa715d;
	border: 1px #fa715d solid;
}

.el-radio__input.is-checked+.el-radio__label{
	color: #2d3748;
}

.hedewr-phone-riht{
	align-items: ceneter;

}

/* 平板设备 */
@media screen and (max-width: 992px) {}

/* 移动设备 */
@media screen and (max-width: 768px) {
	.demo-tabs {
		width: 70%;
		margin-left: 15%;
		padding: 20px 0;
		display: inline-flex;
		justify-content: space-between;
	}

	.header-a-page{
		display: none !important;
	}

	.hedewr-phone-riht{
		display: inline-flex;
		justify-content: flex-end;
		align-items: center;
	}
}

/* 小屏幕手机 */
@media screen and (max-width: 480px) {
	.demo-tabs {
		width: 70%;
		margin-left: 15%;
		padding: 20px 0;
		display: inline-flex;
		justify-content: space-between;
	}

	.header-a-page{
		display: none !important;
	}

	.hedewr-phone-riht{
		display: inline-flex;
		justify-content: flex-end;
		align-items: center;
	}
}

</style>
